#ifndef __MODEL__HPP__
#define __MODEL__HPP__
#include <string>
#include "matrix.cpp"

using namespace std;

class model{
	public:
		unsigned int nbPoints,nbNodes;
		Matrix<double> points;
		Matrix<int> nodes;
	public:
		model();
		model(const unsigned int &sizeP,const unsigned int &sizeN);
		~model();
		static model* importFromFile(string file);
		void print();
		void applyMatrix(Matrix<double> &m);
		void drawPixel(int x, int y);
		void drawLine(int x1, int y1, int x2, int y2);
		void draw();
};
#endif
